package com.zzk.www.service.impl;

import com.zzk.www.domain.Message;
import com.zzk.www.mapper.MessageMapper;
import com.zzk.www.service.MessageDaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 消息服务实现类
 * 
 * @author admin
 *
 * @2016-08-19 10
 */
@Service("messageService")
public class MessageDaoServiceImpl implements MessageDaoService {

    @Autowired
    private MessageMapper messageMapper;


    @Override
    public int insertBatch(List<Message> dataList) {
        return messageMapper.insertBatch(dataList);
    }
}
